
#define  _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main()
{
	int a = 1000;
	while (a <= 2000)
	{
		if (a % 4 == 0 && a % 100 != 0)

			printf("%d\n", a);
		a++;
	}
	return 0;

}